class CreateMovies < ActiveRecord::Migration
  def self.up
    create_table :movies do |t|
      t.column :title, :text
      t.column :date, :text
      t.column :directed_by, :text
      t.column :genre, :text
      t.column :plot, :text
      t.column :mpaa, :text
      t.column :created_at, :timestamp
      t.column :updated_at, :timestamp
    end
  end

  def self.down
    drop_table :movies
  end
end
